package com.zrrd.spring_01.service.impl;

import com.zrrd.spring_01.service.TeaService;

/**
 * @author WanJl
 * @version 1.0
 * @title TeaServiceImpl
 * @description
 * @create 2024/10/20
 */
public class TeaServiceImpl implements TeaService {
    public TeaServiceImpl() {
        System.out.println("我是TeaServiceImpl的无参构造方法");
    }

    private TeaServiceImpl(String name) {
        System.out.println(name);
    }

    @Override
    public void method() {
        System.out.println("TeaServiceImpl method");
    }
}
